/*
 * *
 *  * Copyright (c) iwindplus Technologies Co., Ltd.2024-2030, All rights reserved.
 *
 *
 */

package com.iwindplus.mgt.domain.vo.power;

import com.iwindplus.mgt.domain.enums.ResourceTypeEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

/**
 * 资源基础字段扩展视图对象（标记选中）.
 *
 * @author zengdegui
 * @since 2018/9/1
 */
@Schema(description = "资源基础字段扩展视图对象（标记选中）")
@Data
@EqualsAndHashCode(callSuper = false)
@SuperBuilder
@NoArgsConstructor
@AllArgsConstructor
public class ResourceBaseCheckedVO extends ResourceBaseVO {

    /**
     * 是否选中（false:否 true：是）.
     */
    @Schema(description = "是否选中（false:否 true：是）")
    private Boolean checked;

    /**
     * 类型（BUTTON：按钮，API：API）.
     */
    @Schema(description = "类型（BUTTON：按钮，API：API）")
    private ResourceTypeEnum type;

    /**
     * 排序号.
     */
    @Schema(description = "排序号")
    private Integer seq;

    /**
     * 菜单主键.
     */
    @Schema(description = "菜单主键")
    private Long menuId;

    /**
     * 菜单编码.
     */
    @Schema(description = "菜单编码")
    private String menuCode;

    /**
     * 菜单名称.
     */
    @Schema(description = "菜单名称")
    private String menuName;

    /**
     * 菜单排序号.
     */
    @Schema(description = "菜单排序号")
    private Integer menuSeq;

    /**
     * 服务主键.
     */
    @Schema(description = "服务主键")
    private Long serverId;

    /**
     * 服务路由ID.
     */
    @Schema(description = "服务路由ID")
    private String serverRouteId;

    /**
     * 服务名称.
     */
    @Schema(description = "服务名称")
    private String serverName;

    /**
     * 服务排序号.
     */
    @Schema(description = "服务排序号")
    private Integer serverSeq;
}